<?php
session_start ();
@$user = $_SESSION ['user'];
@$sf = $_SESSION ['sf'];
if (empty ( $user )) {
	echo json_encode ( array (
			'zt' => false 
	) );
} else {
	if ($sf == 'keh') {
		echo json_encode ( array (
				'zt' => true,
				'mz'=>'客户'.$user,
				'sf' => 'keh' 
		) );
	} else {
		echo json_encode ( array (
				'zt' => true,
				'mz'=>'管理员'.$user,
				'sf' => 'guanl' 
		) );
	}
}